package com.linxz.wandnroid.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.linxz.wandnroid.R;
import com.linxz.wandnroid.pojo.resp.WanAndroidNavigationListResp;

import java.util.List;

/**
 * @author Linxz
 * 创建日期：2020年02月27日 16:58
 * version：v4.5.4
 * 描述：
 */
public class SystemNavigationItemsAdapter extends BaseQuickAdapter<WanAndroidNavigationListResp.DataBean.ArticlesBean, BaseViewHolder> {

    public SystemNavigationItemsAdapter(List<WanAndroidNavigationListResp.DataBean.ArticlesBean> data) {
        super(R.layout.wandroid_item_navigation_items,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, WanAndroidNavigationListResp.DataBean.ArticlesBean item) {
        helper.setText(R.id.tvChapter,item.getTitle());
    }
}
